﻿<%@ Page Title="" Language="VB" MasterPageFile="~/Library/Reportes.master" AutoEventWireup="false" CodeFile="RPTCAPAgrupado.aspx.vb" Inherits="Reportes_RPTCAPAgrupado" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<h1>Consulta de agrupación de variables del CAP</h1>
    <p>Muestra el consolidado de personas registradas en el CAP agrupadas por diferentes criterios</p>
<table>
<tr>
<th colspan = "2">
</th>
</tr>
<tr>
<td >Seleccione un proyecto
</td>
<td > 
    <asp:DropDownList ID="ddlProyectos" runat="server">
    </asp:DropDownList>
</td>
</tr>
<tr>
<td >Ordenar datos por:
</td>
<td > 
    <asp:DropDownList ID="ddlOrden" runat="server">
    <asp:ListItem Value = '1 asc' >Detalle Ascendente</asp:ListItem>
    <asp:ListItem Value = '1 desc' >Detalle Descendente</asp:ListItem>
    <asp:ListItem Value = '2 asc ' >Cantidad Ascendente</asp:ListItem>
    <asp:ListItem Value = '2 desc' Selected = true >Cantidad Descendente</asp:ListItem>
    </asp:DropDownList>
</td>
</tr>


<tr>
<td colspan = "2" class = "botones">
    <asp:Button ID="btnConsultar" runat="server" Text="Ver reporte" CssClass="boton" />
    <asp:Button ID="btnExp" runat="server" Text="Exportar a excel" 
        CssClass="boton" />
</td>
</tr>
</table>
<table>
<tr>
<td colspan = "2">
<asp:Label runat="server" ID="lblTitulo" ></asp:Label>
</td>
</tr>
<tr>
<td valign = "Top">
    <asp:GridView ID="grdResultado" runat="server" AutoGenerateColumns="false" >
    <Columns>
            <asp:BoundField DataField="Detalle" HeaderText="Detalle" />
            <asp:BoundField DataField="Cantidad" HeaderText="Cantidad"/>            
        </Columns>
 </asp:GridView>

</td>
</tr><tr>
<td  valign = "Top">

    <asp:Chart ID="Chart1" runat="server" Palette="BrightPastel" BackColor="#F3DFC1" Width="412px" Height="296px" BorderlineDashStyle="Solid" BackGradientStyle="TopBottom" BorderWidth="2" BorderColor="181, 64, 1">
<titles>
								<asp:Title ShadowColor="32, 0, 0, 0" Font="Trebuchet MS, 12.25pt, style=Bold" ShadowOffset="3"  Name="Title1" ForeColor="26, 59, 105"></asp:Title>
							</titles>
							<legends>
								<asp:Legend TitleFont="Microsoft Sans Serif, 8pt, style=Bold" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold" IsTextAutoFit="False" Enabled="False" Name="Default"></asp:Legend>
							</legends>
							<borderskin SkinStyle="Emboss"></borderskin>
                            
        <Series>
            <asp:Series Name="Default">
            </asp:Series>
        </Series>
        <chartareas>
								<asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BackSecondaryColor="White" BackColor="OldLace" ShadowColor="Transparent" BackGradientStyle="TopBottom">
									<area3dstyle Rotation="10" Perspective="10" Inclination="15" IsRightAngleAxes="False" WallWidth="0" IsClustered="False" />
									<axisy LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
										<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" Format="C0" />
										<MajorGrid LineColor="64, 64, 64, 64" />
									</axisy>
									<axisx LineColor="64, 64, 64, 64"  LabelAutoFitMaxFontSize="8">
										<LabelStyle Font="Trebuchet MS, 8.25pt, style=Bold" IsEndLabelVisible="False" Format="MM-dd" />
										<MajorGrid LineColor="64, 64, 64, 64" />
									</axisx>
								</asp:ChartArea>
							</chartareas>
    </asp:Chart>
</td>

</tr>
</table>
</asp:Content>

